package info.ask4research.dao;

import info.ask4research.dao.core.AbstractDao;
import info.ask4research.model.UnitOfLearning;
import info.ask4research.model.activities.Activity;
import info.ask4research.web.dto.UnitOfLearningDTO;

import java.util.List;

public interface IUnitOfLearningDAO extends AbstractDao<UnitOfLearning>{

	List<UnitOfLearning> getUnitOfLearningPaginated(Integer limit,
			Integer page, Integer start);

	List<UnitOfLearningDTO> getUnitOfLearningPaginated(Integer limit,
			Integer page, Integer start, String query);

	List<Activity> getActivities(int uoLId);

	boolean existByTitle(String title);
}
